<script setup lang="ts">
import { inject } from 'vue'
import { heightKey } from './injectionSymbols.ts'

const height = inject(heightKey, window.innerHeight + 'px')
</script>

<template>
  <div class="sticky top-0" :style="{ height: height }">
    <slot></slot>
  </div>
</template>
